package com.bawei.goods.hospital_goods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = "com.bawei")
@EnableFeignClients("com.bawei.goods.hospital_goods.feign")
public class GoodsApp {
     public static void main(String[] args) {
             SpringApplication.run(GoodsApp.class, args);
         }
}
